home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Alles Voor Internet / Tout Pour Internet
/
alles voor internet.iso
/
MacInternet™
/
Telnet
/
5PM PowerMac
/
5PM_Term_PPC.sea
/
Palettes Folder
/
VI navigator.rsrc
/
WTXT_0
< prev
Wrap
Text File
|
1993-09-28
|
1KB
|
44 lines
On open TargetSess
Global palt InsertMode
Put false into InsertMode
If the number of sessions <> 0 then
If TargetSess is empty then
Set the targetSession of me to word 5 of the targetSession
Else
Set the targetSession of me to word 5 of targetSess
End if
Else
Answer "No session was found."
Close me
End if
End open
On NormalMode
Global palt InsertMode
If InsertMode is true then
Put false into InsertMode
Transmit numToChar (27)
End if
End NormalMode
On close
Global palt FindPaltId
If palt FindPaltId exists then
Close palt FindPaltId
End if
Pass close
End close
On FindChange Tag, toFind, toChange
Switch
When tag = 1 then
Transmit numToChar (27) & "/" & toFind & cr
When tag = 2 then
Transmit numToChar (27) & ":s/" & toFind & "/" & toChange & cr
When tag = 3 then
Transmit numToChar (27) & ":s/" & toFind & "/" & toChange & cr
Transmit n
When tag = 4 then
Transmit numToChar (27) & ":g/" & toFind & "/s//" & toChange & cr
End switch
End FindChange